* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.video-player-container {
    max-width: 1000px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.video-container {
    position: relative;
    padding-top: 56.25%; /* 16:9 宽高比 */
    background-color: #000;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none;
}

.controls {
    padding: 10px 15px;
    background-color: #222;
    color: #fff;
}

.progress-container {
    position: relative;
    margin-bottom: 10px;
}

progress {
    width: 100%;
    height: 5px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 2px;
    background-color: #444;
}

progress::-webkit-progress-bar {
    background-color: #444;
    border-radius: 2px;
}

progress::-webkit-progress-value {
    background-color: #1e90ff;
    border-radius: 2px;
}

#seekBar {
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
    height: 11px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

#seekBar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #1e90ff;
    cursor: pointer;
}

.main-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.control-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.control-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.time-display {
    font-size: 14px;
    color: #ddd;
    margin: 0 15px;
}

.volume-control {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 15px;
}

#volumeBar {
    width: 80px;
    margin-left: 8px;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: #444;
    border-radius: 2px;
}

#volumeBar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1e90ff;
    cursor: pointer;
}

.playback-rate {
    margin-left: 10px;
}

.speed-select {
    padding: 5px;
    border-radius: 4px;
    background-color: #333;
    color: #fff;
    border: 1px solid #555;
    cursor: pointer;
}

.video-list-container {
    padding: 15px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.video-list-container h3 {
    margin-bottom: 10px;
    color: #333;
}

.video-list {
    list-style: none;
}

.video-list li {
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

.video-list li:hover {
    background-color: #e9e9e9;
}

.video-list li.active {
    background-color: #1e90ff;
    color: white;
}

/* 全屏样式 */
:-webkit-full-screen .video-container {
    width: 100%;
    height: 100%;
    padding-top: 0;
}

:-moz-full-screen .video-container {
    width: 100%;
    height: 100%;
    padding-top: 0;
}

:-ms-fullscreen .video-container {
    width: 100%;
    height: 100%;
    padding-top: 0;
}

:fullscreen .video-container {
    width: 100%;
    height: 100%;
    padding-top: 0;
}